package com.liuzu.esys.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderManage {

    private Integer order_number;//订单号

    private Integer phone;//电话

    private Boolean order_status;//订单状态

    private Boolean pay_status;//支付状态

    private Double order_amount;//订单金额

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd" )
    private Date create_time;//创建时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd" )
    private Date pay_time;//支付时间
}
